package com.lyj.friend.service.user;

import com.lyj.common.core.domain.R;
import com.lyj.common.core.domain.vo.LoginUserVO;
import com.lyj.friend.domain.user.dto.UserDTO;
import com.lyj.friend.domain.user.dto.UserUpdateDTO;
import com.lyj.friend.domain.user.vo.UserVO;
import org.springframework.stereotype.Service;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: LIUYANJIAO
 * Date: 2025-09-02
 * Time: 20:57
 */
@Service
public interface UserService {

    boolean sendCode(UserDTO userDTO);

    String codeLogin(String email, String code);

    boolean logout(String token);

    R<LoginUserVO> info(String token);

    UserVO detail();

    int edit(UserUpdateDTO userUpdateDTO);

    int updateHeadImage(String headImage);
}
